package com.ruoyi.by.health.domain.entity;

import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * byhealth_lottery_outcome
 *
 * @author
 */
@Data
@ApiModel(value = "ByhealthLotteryOutcome", description = "获奖名单")
public class ByhealthLotteryOutcome extends BaseEntity implements Cloneable {
    private static final long serialVersionUID = 1L;
    /**
     * 员工ID
     */
    private Long id;
    /**
     * 员工ID
     */
    private Long empId;
    /**
     * 员工ID
     */
    private Long prizeId;
    /**
     * 奖品id
     */
    @ApiModelProperty("轮数ID")
    private Long rulesId;
    private String rulesName;
    /**
     * 员工号
     */
    private String empCode;
    /**
     * 员工名字
     */
    private String empName;
    /**
     * 奖品名称
     */
    private String prizeName;
    /**
     * 组织名称
     */
    private Long deptId;
    private String deptName;
    private Long buId;
    private String buName;
    /**
     * 类型
     */
    @ApiModelProperty("奖品类型  大区、小区")
    private String prizeType;
    @ApiModelProperty("是否附加轮")
    private Integer isAttach;
    private String imageUrl;
    private String prizeUrl;

    public void setId(Long id) {
        this.id = id;
    }

    public void setEmpId(Long empId) {
        this.empId = empId;
    }

    public void setPrizeId(Long prizeId) {
        this.prizeId = prizeId;
    }

    public void setRulesId(Long rulesId) {
        this.rulesId = rulesId;
    }

    public void setRulesName(String rulesName) {
        this.rulesName = rulesName;
    }

    public void setEmpCode(String empCode) {
        this.empCode = empCode;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public void setPrizeName(String prizeName) {
        this.prizeName = prizeName;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setBuId(Long buId) {
        this.buId = buId;
    }

    public void setBuName(String buName) {
        this.buName = buName;
    }

    public void setPrizeType(String prizeType) {
        this.prizeType = prizeType;
    }

    public void setIsAttach(Integer isAttach) {
        this.isAttach = isAttach;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public void setPrizeUrl(String prizeUrl) {
        this.prizeUrl = prizeUrl;
    }

    @Override
    public ByhealthLotteryOutcome clone() throws CloneNotSupportedException {
        ByhealthLotteryOutcome newTestClone = (ByhealthLotteryOutcome) super.clone();
        newTestClone.setId(this.id);
        newTestClone.setEmpId(this.empId);
        newTestClone.setPrizeId(this.prizeId);
        newTestClone.setRulesId(this.rulesId);
        newTestClone.setRulesName(this.rulesName);
        newTestClone.setEmpCode(this.empCode);
        newTestClone.setEmpName(this.empName);
        newTestClone.setPrizeName(this.prizeName);
        newTestClone.setDeptId(this.deptId);
        newTestClone.setDeptName(this.deptName);
        newTestClone.setBuId(this.buId);
        newTestClone.setBuName(this.buName);
        newTestClone.setPrizeType(this.prizeType);
        newTestClone.setIsAttach(this.isAttach);
        newTestClone.setImageUrl(this.imageUrl);
        newTestClone.setPrizeUrl(this.prizeUrl);
        return newTestClone;
    }


}